<?php
/**
 * This example shows how to do basic Logging
 * 
 */

?>
<HTML>
	<head>
		<title>
			Basic Logging
		</title>
	</head>
	<body>
		Include the Log Class <br/>
<?php
		require_once 'LogClass.php'; 
?>
		Create object<br/>
<?php
		$obj_Logger = new cExampleLog();
?>
		Set Options<br/>
<?php
		$obj_Logger->set_Directory(dirname(__FILE__)."\\LOGS",true);
		$obj_Logger->set_FileName("ExampleLog");
		$obj_Logger->set_LogLevel(100);
		$obj_Logger->activate();
?>
		Output Text To log<br/>
<?php
		print($obj_Logger->do_Log(abs_Log::c_str_ACTION_ERROR,"This is an Error",0)."<br/>");
		print($obj_Logger->do_Log(abs_Log::c_str_ACTION_INFORMATION,"This is Infomration",0)."<br/>");
		print($obj_Logger->do_Log(abs_Log::c_str_ACTION_VALUE,"This is an Value",0)."<br/>");
?>
	</body>
</HTML>